package com.report.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.report.dto.request.SubscribeReq;
import com.report.dto.response.SubscribeRes;
import com.report.entity.Subscribe;

import java.util.List;

/**
 * @author summer
 * @version 1.0
 * @date 2024/8/13 09:29
 */
public interface SubscribeService extends IService<Subscribe> {

    /**
     *  查询列表
     * @param subscribeReq
     * @return
     */
    List<SubscribeRes> subscribeLists(SubscribeReq subscribeReq);

    /**
     * 添加订阅
     * @param subscribeReq
     */
    void saveSubscribe(SubscribeReq subscribeReq);

    /**
     * 查询选中的行业
     * @param memberId
     * @return
     */
    List<SubscribeRes> memberCheckTag(Integer memberId);

    /**
     * 清空search
     * @param memberId
     */
    void clearSearch(Integer memberId);
}
